package com.ruoyi.xq.domain.ro;

import com.ruoyi.user.domain.HsUser;
import lombok.Data;

@Data
public class XqRegisterRo {
    private Long id;
    private String xqName;
    private String xqManagerName;
    private String xqManagerPhone;
    private String xqAddresss;
    private Byte xqStatus = 1;
    public  static XqRegisterRo getXqRegisterRo(HsUser hsUser){
        XqRegisterRo xqRegisterRo = new XqRegisterRo();
        xqRegisterRo.setXqAddresss(hsUser.getUserAddress());
        xqRegisterRo.setXqName(hsUser.getUserXq());
       return xqRegisterRo;
    }
}
